﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using WMSADL.SY;
using WMSAML.SY;

namespace WMSABL.SY
{
    public class TUserImag_BLL
    {
        TUserImag_DAL dal_UserImag = new TUserImag_DAL();

        /// <summary>
        /// 
        /// </summary>
        public bool Exists(int ID)
        {
            return dal_UserImag.Exists(ID);
        }

        /// <summary>
        /// 
        /// </summary>
        public int Add(TUserImagEntity entity)
        {
            return dal_UserImag.Add(entity);
        }

        /// <summary>
        /// 更新一条数据
        /// </summary>
        public bool Update(TUserImagEntity entity)
        {
            return dal_UserImag.Update(entity);
        }

        /// <summary>
        /// 
        /// </summary>
        public bool Delete(int ID)
        {

            return dal_UserImag.Delete(ID);
        }


        /// <summary>
        /// 
        /// </summary>
        public TUserImagEntity Getentity(int ID)
        {

            return dal_UserImag.Getentity(ID);
        }

         /// <summary>
        /// GetEntityByUID
        /// </summary>
        public TUserImagEntity GetEntityByUID(int UID)
        {
            return dal_UserImag.GetEntityByUID(UID);
        }


        /// <summary>
        /// 获得数据列表
        /// </summary>
        public DataSet GetList(string strWhere)
        {
            return dal_UserImag.GetList(strWhere);
        }
    }
}
